const express = require('express')
const router = express.Router();
const resources = require('../controller/resources/index')
const res_category = require('../controller/resources/category')

router.get("/getList", resources.getAll);
router.post("/save", resources.save);
router.post("/del", resources.del);

router.get("/category/getList", res_category.getAll);
router.post("/category/save", res_category.save);
router.post("/category/del", res_category.del);
router.post("/category/update", res_category.update);
module.exports = router